package com.authine.cloudpivot.ext.model;

import com.authine.mvp.app.launcher.domain.SelectorFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @ClassName ReportRecord
 * @Description: 报表记录类
 * @Author fj
 * @Date 2021/8/26
 * @Version V1.0
 **/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class ReportRecord implements Serializable {
    private static final long serialVersionUID = 4759611422790830774L;

    private String id;// id
    private String code;// 报表名称
    private String downloadPath;// 报表存放oss路径
    private String paramsUrl;// 报表参数
    private List<SelectorFormat> organization_id;// 报表所属组织id
    private String organization_name;// 报表所属组织名称
    private List<SelectorFormat> user_id;// 报表所属人id
    private String user_name;// 报表所属人名称
    private String type;// 报表类型(pdf,xlsx)
    private String description;// 报表产生位置描述
    private String errorInfo;// 报表导出失败信息
    private List<Map<String, Object>> data;// 报表数据
    private Map<String, Object> param;// 报表请求参数
    private List<String> ids;// 需要导出的id列表
}